<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>ShieldJS2 Class: ShieldJS</title>

	<!--[if lt IE 9]>
	<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">

	<link type="text/css" rel="stylesheet" href="styles/site.Cerulean.css">

</head>

<body>

<div class="navbar navbar-default navbar-fixed-top navbar-inverse">
<div class="container">
	<div class="navbar-header">
		<a class="navbar-brand" href="index.html">ShieldJS2</a>
		<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
        </button>
	</div>
	<div class="navbar-collapse collapse" id="topNavigation">
		<ul class="nav navbar-nav">
			
			<li class="dropdown">
				<a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="ShieldJS.core._defaults.html">ShieldJS.core._defaults</a></li>
				</ul>
			</li>
			
			<li class="dropdown">
				<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="$().contentChange.html">$().contentChange</a></li><li><a href="$().insertAtCursor.html">$().insertAtCursor</a></li><li><a href="$().resize.html">$().resize</a></li><li><a href="$().selection.html">$().selection</a></li><li><a href="$().serializeJson.html">$().serializeJson</a></li><li><a href="$().shieldBindHtmlAction.html">$().shieldBindHtmlAction</a></li><li><a href="$().shieldLeftMenu.html">$().shieldLeftMenu</a></li><li><a href="$().shieldMainContent.html">$().shieldMainContent</a></li><li><a href="Dialog.html">Dialog</a></li><li><a href="Map.html">Map</a></li><li><a href="ShieldJS.html">ShieldJS</a></li><li><a href="ShieldJS.ajax.html">ShieldJS.ajax</a></li><li><a href="ShieldJS.core.html">ShieldJS.core</a></li><li><a href="ShieldJS.dialog.html">ShieldJS.dialog</a></li><li><a href="ShieldJS.form.html">ShieldJS.form</a></li><li><a href="ShieldJS.HtmlAction.html">ShieldJS.HtmlAction</a></li><li><a href="ShieldJS.HtmlAction.HTMLEleActions.html">ShieldJS.HtmlAction.HTMLEleActions</a></li><li><a href="ShieldJS.HtmlAction.successDo.html">ShieldJS.HtmlAction.successDo</a></li><li><a href="ShieldJS.HtmlAction.successDoMethod.html">ShieldJS.HtmlAction.successDoMethod</a></li><li><a href="String.replaceAll.html">String.replaceAll</a></li>
				</ul>
			</li>
			
			<li class="dropdown">
				<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
				<ul class="dropdown-menu ">
					<li><a href="global.html#dateFormat">dateFormat</a></li><li><a href="global.html#ele">ele</a></li><li><a href="global.html#findAndMarkEle">findAndMarkEle</a></li><li><a href="global.html#findAndMarkEleOn">findAndMarkEleOn</a></li><li><a href="global.html#findEle">findEle</a></li><li><a href="global.html#formatUrl">formatUrl</a></li><li><a href="global.html#getExtendSettings">getExtendSettings</a></li><li><a href="global.html#getjQueryObj">getjQueryObj</a></li><li><a href="global.html#getJSDir">getJSDir</a></li><li><a href="global.html#getJSPath">getJSPath</a></li><li><a href="global.html#getParams">getParams</a></li><li><a href="global.html#getRandomColor">getRandomColor</a></li><li><a href="global.html#getSettings">getSettings</a></li><li><a href="global.html#getTimeAttr">getTimeAttr</a></li><li><a href="global.html#hasAttr">hasAttr</a></li><li><a href="global.html#height">height</a></li><li><a href="global.html#index">index</a></li><li><a href="global.html#jQObjEmpty2Null">jQObjEmpty2Null</a></li><li><a href="global.html#openNewPage">openNewPage</a></li><li><a href="global.html#paramNameAdapt">paramNameAdapt</a></li><li><a href="global.html#preEle">preEle</a></li><li><a href="global.html#preEleIndex">preEleIndex</a></li><li><a href="global.html#printCallStack">printCallStack</a></li><li><a href="global.html#removeHtml">removeHtml</a></li><li><a href="global.html#replaceParamVal">replaceParamVal</a></li><li><a href="global.html#title">title</a></li><li><a href="global.html#width">width</a></li>
				</ul>
			</li>
			
		</ul>
        
            <div class="col-sm-3 col-md-3">
                <form class="navbar-form" role="search">
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
                        <div class="input-group-btn">
                            <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
                        </div>
                    </div>
                </form>
            </div>
        
	</div>

</div>
</div>


<div class="container" id="toc-content">
<div class="row">

	
	<div class="col-md-8">
	
		<div id="main">
			

	<h1 class="page-title">Class: ShieldJS</h1>
<section>

<header>
    
        <h2>
        ShieldJS
        </h2>
        
    
</header>


<article>
    <div class="container-overview">
    
        
<hr>
<dt>
    <h4 class="name" id="ShieldJS"><span class="type-signature"></span>new ShieldJS()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>ShieldJS主类，定义了框架的一些主要属性及方法</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	
	<dt class="tag-version method-doc-label method-doc-details-label">Version:</dt>
	<dd class="tag-version">
		<ul class="dummy">
			<li>2.1.0</li>
		</ul>
	</dd>
	

	

	

    

    

    

    

	

	
	<dt class="tag-author method-doc-label method-doc-details-label">Author:</dt>
	<dd class="tag-author">
		<ul>
			<li><a href="mailto:donggongai@126.com">Kevin Lv</a></li>
			</ul>
	</dd>
	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-8">line 8</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

    
    </div>

    

    

    
        <h3 class="subsection-title">Classes</h3>

        <dl>
            <dt><a href="ShieldJS.ajax.html">ajax</a></dt>
            <dd></dd>
        
            <dt><a href="ShieldJS.core.html">core</a></dt>
            <dd></dd>
        
            <dt><a href="ShieldJS.dialog.html">dialog</a></dt>
            <dd></dd>
        
            <dt><a href="ShieldJS.form.html">form</a></dt>
            <dd></dd>
        
            <dt><a href="ShieldJS.HtmlAction.html">HtmlAction</a></dt>
            <dd></dd>
        </dl>
    

    

    

    
        <h3 class="subsection-title">Members</h3>

        <dl>
            
<hr>
<dt class="name" id="._msg">
    <h4 id="._msg"><span class="type-signature">&lt;static, readonly> </span>_msg<span class="type-signature"> :Key-Value</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>框架消息模板</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">Key-Value</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-47">line 47</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id="._set">
    <h4 id="._set"><span class="type-signature">&lt;static, readonly> </span>_set<span class="type-signature"> :Boolean</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>内部变量设置（可设置是否调试模式）</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">Boolean</span>



            </li>
        </ul>
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>debug</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>



            
            </td>

            

            
                <td class="default">
                
                    true
                
                </td>
            

            <td class="description last"><p>调试模式，部署时关闭</p></td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-66">line 66</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".activeSiderE">
    <h4 id=".activeSiderE"><span class="type-signature">&lt;static> </span>activeSiderE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>左侧栏选中区</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-848">line 848</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".activeTabTitleE">
    <h4 id=".activeTabTitleE"><span class="type-signature">&lt;static> </span>activeTabTitleE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>当前可见的主内容区tab标题</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-860">line 860</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".activeTopMenuE">
    <h4 id=".activeTopMenuE"><span class="type-signature">&lt;static> </span>activeTopMenuE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>选中的头部菜单区</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-840">line 840</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".avtiveTabContentE">
    <h4 id=".avtiveTabContentE"><span class="type-signature">&lt;static> </span>avtiveTabContentE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>当前可见的主内容区tab内容区</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-856">line 856</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".contentMainE">
    <h4 id=".contentMainE"><span class="type-signature">&lt;static> </span>contentMainE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>主内容区（不变）</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-852">line 852</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".css">
    <h4 id=".css"><span class="type-signature">&lt;static, readonly> </span>css<span class="type-signature"> :String</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>框架内置的几种常用样式名</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">String</span>



            </li>
        </ul>
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>TITLE</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    viewTitle
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>WIDTH</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    viewWidth
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>HEIGHT</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    viewHeight
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SHOW</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    shield-show
                
                </td>
            

            <td class="description last"><p>显示</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>THIS</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    shield-this
                
                </td>
            

            <td class="description last"><p>选中</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>DISABLED</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            
                <td class="default">
                
                    shield-disabled
                
                </td>
            

            <td class="description last"><p>禁用</p></td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-28">line 28</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".debugTrace">
    <h4 id=".debugTrace"><span class="type-signature">&lt;static> </span>debugTrace<span class="type-signature"></span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>调试输出是否输出堆栈信息</p>
    </div>
    

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-73">line 73</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".dialogE">
    <h4 id=".dialogE"><span class="type-signature">&lt;static> </span>dialogE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>弹出框 ，其他可在实现框架内扩展</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-864">line 864</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".dialogs">
    <h4 id=".dialogs"><span class="type-signature">&lt;static> </span>dialogs<span class="type-signature"> :<a href="Map.html">Map</a></span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>弹出框Map,key为下标，value为dialog对象</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type"><a href="Map.html">Map</a></span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-674">line 674</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".docClicks">
    <h4 id=".docClicks"><span class="type-signature">&lt;static> </span>docClicks<span class="type-signature"> :Key-Value</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>document点击的处理事件集合（使用时 docClicks[&quot;方法名&quot;]=function）</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">Key-Value</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-442">line 442</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".jsPath">
    <h4 id=".jsPath"><span class="type-signature">&lt;static> </span>jsPath<span class="type-signature"> :String</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>当前js文件的路径，通过<a href="ShieldJS.html#.getJsPath">ShieldJS.getJsPath</a>获取</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">String</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-132">line 132</a>
			</li>
		</ul>
	</dd>
	

	

	
	<dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
	<dd class="tag-see">
		<ul>
			<li><a href="ShieldJS.html#.getJsPath">ShieldJS.getJsPath</a></li>
			</ul>
	</dd>
	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".keyCode">
    <h4 id=".keyCode"><span class="type-signature">&lt;static, readonly> </span>keyCode<span class="type-signature"> :int</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>键盘按键的值的常量</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">int</span>



            </li>
        </ul>
    

    
<dl class="details">
    

    <h5 class="subsection-title">Properties:</h5>

    <dl>

<table class="props table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>ENTER</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    13
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ESC</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    27
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>END</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    35
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>HOME</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    36
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>SHIFT</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    16
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>TAB</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    9
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>BLANK</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    32
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>LEFT</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    37
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>RIGHT</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    39
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>UP</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    38
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>DOWN</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    40
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>DELETE</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    46
                
                </td>
            

            <td class="description last"></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>BACKSPACE</code></td>
            

            <td class="type">
            
                
<span class="param-type">int</span>



            
            </td>

            

            
                <td class="default">
                
                    8
                
                </td>
            

            <td class="description last"></td>
        </tr>

    
    </tbody>
</table>
</dl>

    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-18">line 18</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".loadingHtml">
    <h4 id=".loadingHtml"><span class="type-signature">&lt;static> </span>loadingHtml<span class="type-signature"> :String</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>加载中的html代码</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">String</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-828">line 828</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".shieldDialogCallback">
    <h4 id=".shieldDialogCallback"><span class="type-signature">&lt;static> </span>shieldDialogCallback<span class="type-signature"> :Key-Value</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>shieldDialog回调方法</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">Key-Value</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-868">line 868</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".siderE">
    <h4 id=".siderE"><span class="type-signature">&lt;static> </span>siderE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>左侧栏</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-844">line 844</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".topBarE">
    <h4 id=".topBarE"><span class="type-signature">&lt;static> </span>topBarE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>头部信息区</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-832">line 832</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".topMenuE">
    <h4 id=".topMenuE"><span class="type-signature">&lt;static> </span>topMenuE<span class="type-signature"> :jQueryObject</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>头部菜单区</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">jQueryObject</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-836">line 836</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".version">
    <h4 id=".version"><span class="type-signature">&lt;static, constant> </span>version<span class="type-signature"> :String</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>ShieldJS的版本号</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">String</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-13">line 13</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        
            
<hr>
<dt class="name" id=".winResizes">
    <h4 id=".winResizes"><span class="type-signature">&lt;static> </span>winResizes<span class="type-signature"> :Key-Value</span></h4>

    
</dt>
<dd>
    
    <div class="description">
        <p>窗口resize的处理事件集合（使用时 winResizes[&quot;方法名&quot;]=function）</p>
    </div>
    

    
        <h5>Type:</h5>
        <ul>
            <li>
                
<span class="param-type">Key-Value</span>



            </li>
        </ul>
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-438">line 438</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    
</dd>

        </dl>
    

    
        <h3 class="subsection-title">Methods</h3>

        <dl>
            
<hr>
<dt>
    <h4 class="name" id=".alert"><span class="type-signature">&lt;static> </span>alert(title, message, type)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>提示框，可以覆盖，默认采用alert，type字符型（success、error、info、warning）</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>title</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>标题</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>提示内容</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>type</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>提示类型包括：success、error、info、warning4种</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-147">line 147</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".checkError"><span class="type-signature">&lt;static> </span>checkError(data, contentType)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>返回值统一方法，判断有无错误（TODO方法名待修改）</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>data</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>



            
            </td>

            

            

            <td class="description last"><p>验证对象，可能为json对象也可能为html文本，json对象示例{&quot;success&quot;:true,&quot;message&quot;:&quot;提示信息&quot;}</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>contentType</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>返回结果类型</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-364">line 364</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>验证通过时返回true，否则返回false</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".checkErrorLoginExtend"><span class="type-signature">&lt;static> </span>checkErrorLoginExtend(data, data)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>检查返回数据登录的扩展方法（子类可覆盖）</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>data</code></td>
            

            <td class="type">
            
                
<span class="param-type">JSON</span>



            
            </td>

            

            

            <td class="description last"><p>返回的对象，一般为json格式</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>data</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>



            
            </td>

            

            

            <td class="description last"><p>返回的原始对象，一般为string或者json格式</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-410">line 410</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>返回true继续执行后续方法，返回false则不再执行后续方法</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Boolean</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".confirm"><span class="type-signature">&lt;static> </span>confirm(title, message, ok, cancel)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>确认框</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>title</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>标题</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>message</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>提示内容</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ok</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>确定后的回调方法</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>cancel</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>取消后的回调方法</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-155">line 155</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".debug"><span class="type-signature">&lt;static> </span>debug(msg, trace)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>调试输出</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>msg</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>调试信息</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>trace</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>



            
            </td>

            

            

            <td class="description last"><p>输出堆栈信息</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-78">line 78</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".error"><span class="type-signature">&lt;static> </span>error(msg)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>错误输出</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>msg</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>错误信息</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-99">line 99</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".getJsPath"><span class="type-signature">&lt;static> </span>getJsPath()</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>获取当前js文件的路径</p>
    </div>
    

    

    

    
    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-136">line 136</a>
			</li>
		</ul>
	</dd>
	

	

	
	<dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
	<dd class="tag-see">
		<ul>
			<li><a href="ShieldJS.html#.jsPath">ShieldJS.jsPath</a></li>
			</ul>
	</dd>
	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>当前js文件的路径</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">String</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".init"><span class="type-signature">&lt;static> </span>init(options)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>初始化方法，使用时直接调用该方法</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>配置文件，参考shield.core.js的参数配置</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-879">line 879</a>
			</li>
		</ul>
	</dd>
	

	

	
	<dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
	<dd class="tag-see">
		<ul>
			<li>shield.core.js#_defaults</li>
			</ul>
	</dd>
	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".initExtend"><span class="type-signature">&lt;static> </span>initExtend(options)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>初始化扩展方法</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>配置文件，参考shield.core.js的参数配置</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-873">line 873</a>
			</li>
		</ul>
	</dd>
	

	

	
	<dt class="tag-see method-doc-label method-doc-details-label">See:</dt>
	<dd class="tag-see">
		<ul>
			<li>shield.core.js#_defaults</li>
			</ul>
	</dd>
	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".loadfile"><span class="type-signature">&lt;static> </span>loadfile(path, success)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>加载文件</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>path</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>文件路径</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>success</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>加载成功后的回调方法</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-116">line 116</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".msg"><span class="type-signature">&lt;static> </span>msg(key, args)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>根据key及传入参数获取模板信息</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>key</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>内置消息模板的key</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
                
<span class="param-type">Array(Object)</span>



            
            </td>

            

            

            <td class="description last"><p>替换模板变量的参数</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-52">line 52</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
    <p>替换参数后的模板信息</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">String</span>



    </dd>
</dl>


        

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".openDialog"><span class="type-signature">&lt;static> </span>openDialog(url, params, callback, title, width, height, async, relType, options)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>打开弹出框(实际调用的是dialog.open)</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>url</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>弹出框的链接</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>params</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>



            
            </td>

            

            

            <td class="description last"><p>参数,json格式或者字符串格式</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>callback</code></td>
            

            <td class="type">
            
                
<span class="param-type">function</span>



            
            </td>

            

            

            <td class="description last"><p>打开弹出框后的回调</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>title</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>弹出框标题</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>width</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>



            
            </td>

            

            

            <td class="description last"><p>弹出框宽度</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>height</code></td>
            

            <td class="type">
            
                
<span class="param-type">Number</span>



            
            </td>

            

            

            <td class="description last"><p>弹出框高度</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>async</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>



            
            </td>

            

            

            <td class="description last"><p>是否异步</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>relType</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>关联类型，可以为iframe或者不填</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
                
<span class="param-type">Json</span>



            
            </td>

            

            

            <td class="description last"><p>扩展属性</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-686">line 686</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        
            
<hr>
<dt>
    <h4 class="name" id=".setVersion"><span class="type-signature">&lt;static> </span>setVersion(suffix)</h4>
    
    
</dt>
<dd>

    
    <div class="description">
        <p>设置ShieldJS的版本号</p>
    </div>
    

    

    

    
    
        <h5>Parameters:</h5>
        

<table class="params table table-striped">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>suffix</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>



            
            </td>

            

            

            <td class="description last"><p>版本号后缀</p></td>
        </tr>

    
    </tbody>
</table>

    

    
<dl class="details">
    

	

	

	

    

    

    

    

	

	

	

	

	



	
	<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
	<dd class="tag-source">
		<ul class="dummy">
			<li>
				<a href="shield.main.js.html">shield.main.js</a>,
				 <a href="shield.main.js.html#sunlight-1-line-105">line 105</a>
			</li>
		</ul>
	</dd>
	

	

	

	
</dl>


    

    

    

    

    

    

    
</dd>

        </dl>
    

    

    
</article>

</section>




		</div>
	</div>

	<div class="clearfix"></div>

	
		<div class="col-md-3">
			<div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
		</div>
	

</div>
</div>


    <div class="modal fade" id="searchResults">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title">Search results</h4>
          </div>
          <div class="modal-body"></div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->
    </div>


<footer>


	<span class="copyright">
	ShieldJS2 Copyright © 2018-2019 基于JSDoc3 and DocStrap生成的JsDoc说明文档.
	</span>

<span class="jsdoc-message">
	Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a>
	
		on Mon Dec 16th 2019
	
	using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
</footer>

<script src="scripts/docstrap.lib.js"></script>
<script src="scripts/toc.js"></script>

    <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>


<script>
$( function () {
	$( "[id*='$']" ).each( function () {
		var $this = $( this );

		$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
	} );

	$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
		var $this = $( this );

		var example = $this.find( "code" );
		exampleText = example.html();
		var lang = /{@lang (.*?)}/.exec( exampleText );
		if ( lang && lang[1] ) {
			exampleText = exampleText.replace( lang[0], "" );
			example.html( exampleText );
			lang = lang[1];
		} else {
			var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
			lang = langClassMatch ? langClassMatch[1] : "javascript";
		}

		if ( lang ) {

			$this
			.addClass( "sunlight-highlight-" + lang )
			.addClass( "linenums" )
			.html( example.html() );

		}
	} );

	Sunlight.highlightAll( {
		lineNumbers : true,
		showMenu : true,
		enableDoclinks : true
	} );

	$.catchAnchorLinks( {
        navbarOffset: 10
	} );
	$( "#toc" ).toc( {
		anchorName  : function ( i, heading, prefix ) {
			return $( heading ).attr( "id" ) || ( prefix + i );
		},
		selectors   : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
		showAndHide : false,
		smoothScrolling: true
	} );

	$( "#main span[id^='toc']" ).addClass( "toc-shim" );
	$( '.dropdown-toggle' ).dropdown();

    $( "table" ).each( function () {
      var $this = $( this );
      $this.addClass('table');
    } );

} );
</script>



<!--Navigation and Symbol Display-->


<!--Google Analytics-->



    <script type="text/javascript">
        $(document).ready(function() {
            SearcherDisplay.init();
        });
    </script>


</body>
</html>